<template>
  <div class="banner">
    <div class="banner-text">邀请好友赢现金 最高可得 500 元</div>
    <button class="btn-pink">去邀请</button>
  </div>
</template>

<script>
export default {
  name: 'InviteBanner'
};
</script>

<style scoped>
.banner {
  background: linear-gradient(to right, #FF6F61, #FF8A80);
  color: white;
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 15px;
  width: 100%;
  max-width: 345px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.banner-text {
  font-size: 16px;
  font-weight: 500;
}
.btn-pink {
  background: #FFCA28;
  color: #FFF;
  padding: 8px 15px;
  border: none;
  border-radius: 20px;
  font-size: 14px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s;
}
.btn-pink:hover {
  transform: scale(1.05);
}
</style>